package de.upb.messerschmidt.set.oauth;

/**
 * This Class belongs to Mendeley and is needed for the {@link Document}.
 * 
 * @author Tim Messerschmidt
 * 
 */
public class Authored {
	private int total_results;
	private int total_pages;
	private int current_page;
	private int items_per_page;
	private String[] document_ids;

	/**
	 * @param total_results
	 * @param total_pages
	 * @param current_page
	 * @param items_per_page
	 * @param document_ids
	 */
	public Authored(int total_results, int total_pages, int current_page,
			int items_per_page, String[] document_ids) {
		this.total_results = total_results;
		this.total_pages = total_pages;
		this.current_page = current_page;
		this.items_per_page = items_per_page;
		this.document_ids = document_ids;
	}

	public Authored() {
		 // No-args constructor for class 
	}

	/**
	 * @return the total_results
	 */
	public int getTotal_results() {
		return total_results;
	}

	/**
	 * @return the total_pages
	 */
	public int getTotal_pages() {
		return total_pages;
	}

	/**
	 * @return the current_page
	 */
	public int getCurrent_page() {
		return current_page;
	}

	/**
	 * @return the items_per_page
	 */
	public int getItems_per_page() {
		return items_per_page;
	}

	/**
	 * @return the document_ids
	 */
	public String[] getDocument_ids() {
		return document_ids;
	}

	/**
	 * @param total_results
	 *            the total_results to set
	 */
	public void setTotal_results(int total_results) {
		this.total_results = total_results;
	}

	/**
	 * @param total_pages
	 *            the total_pages to set
	 */
	public void setTotal_pages(int total_pages) {
		this.total_pages = total_pages;
	}

	/**
	 * @param current_page
	 *            the current_page to set
	 */
	public void setCurrent_page(int current_page) {
		this.current_page = current_page;
	}

	/**
	 * @param items_per_page
	 *            the items_per_page to set
	 */
	public void setItems_per_page(int items_per_page) {
		this.items_per_page = items_per_page;
	}

	/**
	 * @param document_ids
	 *            the document_ids to set
	 */
	public void setDocument_ids(String[] document_ids) {
		this.document_ids = document_ids;
	}
}
